package com.blood.modules.system.dto.req;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @author daoren
 * @date 2022-05-12 09:14:48
 * @description 保存或修改入参
 */
@Data
@ApiModel(value = "系统用户保存或修改入参", description = "系统用户保存或修改入参")
public class SysUserSaveReq {
    @ApiModelProperty("业务id")
    private String id;
    @ApiModelProperty(value = "联系电话",required = true)
    @NotNull(message = "联系电话不能为空！")
    private String phone;
    @ApiModelProperty("用户姓名")
    private String userName;
    @ApiModelProperty("角色(2管理员，3医生，4护士，5助产士)")
    private String role;
    @ApiModelProperty("工号")
    private String empNo;
    @ApiModelProperty("职称")
    private String occupation;
    @ApiModelProperty(value = "医院id",required = true)
    @NotNull(message = "医院不能为空！")
    private String hospitalId;
    @ApiModelProperty(value = "科室id",required = true)
    @NotNull(message = "科室不能为空！")
    private String departId;
    @ApiModelProperty("备注")
    private String remark;

}
